<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::filters::GaussianKernelRGB&lt; PointInT, PointOutT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::filters::GaussianKernelRGB&lt; PointInT, PointOutT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Gaussian kernel implementation interface with <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> channel handling Use this as implementation reference  
 <a href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="convolution__3d_8h_source.html">convolution_3d.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::filters::GaussianKernelRGB&lt; PointInT, PointOutT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.png" usemap="#pcl::filters::GaussianKernelRGB_3C_20PointInT_2C_20PointOutT_20_3E_map" alt=""/>
  <map id="pcl::filters::GaussianKernelRGB_3C_20PointInT_2C_20PointOutT_20_3E_map" name="pcl::filters::GaussianKernelRGB_3C_20PointInT_2C_20PointOutT_20_3E_map">
<area href="classpcl_1_1filters_1_1_gaussian_kernel.html" title="Gaussian kernel implementation interface Use this as implementation reference" alt="pcl::filters::GaussianKernel&lt; PointInT, PointOutT &gt;" shape="rect" coords="0,56,319,80"/>
<area href="classpcl_1_1filters_1_1_convolving_kernel.html" title="Class ConvolvingKernel base class for all convolving kernels" alt="pcl::filters::ConvolvingKernel&lt; PointInT, PointOutT &gt;" shape="rect" coords="0,0,319,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a951d1da58cb5d6446cfb12940fcc1d50"><td class="memItemLeft" align="right" valign="top"><a id="a951d1da58cb5d6446cfb12940fcc1d50"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">GaussianKernelRGB</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a951d1da58cb5d6446cfb12940fcc1d50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac0d78eaec1535bb45327a8989e00305"><td class="memItemLeft" align="right" valign="top"><a id="aac0d78eaec1535bb45327a8989e00305"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">GaussianKernelRGB</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:aac0d78eaec1535bb45327a8989e00305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classpcl_1_1filters_1_1_gaussian_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classpcl_1_1filters_1_1_gaussian_kernel')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html">pcl::filters::GaussianKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:ad923a94d65b856bde2918a5258a6d385 inherit pub_types_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="ad923a94d65b856bde2918a5258a6d385"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html">GaussianKernel</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:ad923a94d65b856bde2918a5258a6d385 inherit pub_types_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada5cc93bf4e2feca7ba35d8d1952fa78 inherit pub_types_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="ada5cc93bf4e2feca7ba35d8d1952fa78"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html">GaussianKernel</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:ada5cc93bf4e2feca7ba35d8d1952fa78 inherit pub_types_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classpcl_1_1filters_1_1_convolving_kernel')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">pcl::filters::ConvolvingKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:a702664d302feeab8011c2a22f3d98521 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a702664d302feeab8011c2a22f3d98521"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">ConvolvingKernel</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a702664d302feeab8011c2a22f3d98521 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47a3a01b4b7ac752f33afa92f7421f81 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a47a3a01b4b7ac752f33afa92f7421f81"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">ConvolvingKernel</a>&lt; PointInT, PointOutT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a47a3a01b4b7ac752f33afa92f7421f81 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9450aa894c8fb25ed4845a708645c353 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a9450aa894c8fb25ed4845a708645c353"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">PointCloud</a>&lt; PointInT &gt;::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudInConstPtr</b></td></tr>
<tr class="separator:a9450aa894c8fb25ed4845a708645c353 inherit pub_types_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a61adc4ffc4cf5fd82cb7d170b4989a14"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html#a61adc4ffc4cf5fd82cb7d170b4989a14">GaussianKernelRGB</a> ()</td></tr>
<tr class="separator:a61adc4ffc4cf5fd82cb7d170b4989a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9fce61230a93073edc8b29320d33105"><td class="memItemLeft" align="right" valign="top">PointOutT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html#ab9fce61230a93073edc8b29320d33105">operator()</a> (const std::vector&lt; int &gt; &amp;indices, const std::vector&lt; float &gt; &amp;distances)</td></tr>
<tr class="memdesc:ab9fce61230a93073edc8b29320d33105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convolve point at the center of this local information  <a href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html#ab9fce61230a93073edc8b29320d33105">更多...</a><br /></td></tr>
<tr class="separator:ab9fce61230a93073edc8b29320d33105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1filters_1_1_gaussian_kernel')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html">pcl::filters::GaussianKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:ad01e1dfc0d7003dbb7edb606212e9e4e inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#ad01e1dfc0d7003dbb7edb606212e9e4e">GaussianKernel</a> ()</td></tr>
<tr class="separator:ad01e1dfc0d7003dbb7edb606212e9e4e inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd36fb3e27286535f9940dd8a7ffc09 inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#aacd36fb3e27286535f9940dd8a7ffc09">setSigma</a> (float sigma)</td></tr>
<tr class="separator:aacd36fb3e27286535f9940dd8a7ffc09 inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb5a6aa4a7163ed5123aefa9c4dc70a inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#a4eb5a6aa4a7163ed5123aefa9c4dc70a">setThresholdRelativeToSigma</a> (float sigma_coefficient)</td></tr>
<tr class="separator:a4eb5a6aa4a7163ed5123aefa9c4dc70a inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af124f4e8a0374b54b2a102fbbda081ca inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#af124f4e8a0374b54b2a102fbbda081ca">setThreshold</a> (float threshold)</td></tr>
<tr class="separator:af124f4e8a0374b54b2a102fbbda081ca inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc1ef2229ba7f711cf62c82753bf22c1 inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#abc1ef2229ba7f711cf62c82753bf22c1">initCompute</a> ()</td></tr>
<tr class="separator:abc1ef2229ba7f711cf62c82753bf22c1 inherit pub_methods_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1filters_1_1_convolving_kernel')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">pcl::filters::ConvolvingKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:a2ec940a77e2ad1a5b01c35efe9ae8b65 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a2ec940a77e2ad1a5b01c35efe9ae8b65"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html#a2ec940a77e2ad1a5b01c35efe9ae8b65">ConvolvingKernel</a> ()</td></tr>
<tr class="memdesc:a2ec940a77e2ad1a5b01c35efe9ae8b65 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty constructor <br /></td></tr>
<tr class="separator:a2ec940a77e2ad1a5b01c35efe9ae8b65 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a389aa513bcc61bd67e027323f2c6b2d2 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a389aa513bcc61bd67e027323f2c6b2d2"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html#a389aa513bcc61bd67e027323f2c6b2d2">~ConvolvingKernel</a> ()</td></tr>
<tr class="memdesc:a389aa513bcc61bd67e027323f2c6b2d2 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty destructor <br /></td></tr>
<tr class="separator:a389aa513bcc61bd67e027323f2c6b2d2 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1dc3374677d5fabd8526b2339b6789 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html#acd1dc3374677d5fabd8526b2339b6789">setInputCloud</a> (const PointCloudInConstPtr &amp;input)</td></tr>
<tr class="memdesc:acd1dc3374677d5fabd8526b2339b6789 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set input cloud  <a href="classpcl_1_1filters_1_1_convolving_kernel.html#acd1dc3374677d5fabd8526b2339b6789">更多...</a><br /></td></tr>
<tr class="separator:acd1dc3374677d5fabd8526b2339b6789 inherit pub_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_classpcl_1_1filters_1_1_convolving_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classpcl_1_1filters_1_1_convolving_kernel')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">pcl::filters::ConvolvingKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:a516ff8cb112028510557398fb8152b2e inherit pub_static_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html#a516ff8cb112028510557398fb8152b2e">makeInfinite</a> (PointOutT &amp;p)</td></tr>
<tr class="memdesc:a516ff8cb112028510557398fb8152b2e inherit pub_static_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function that annihilates a point making it fail the pcl::isFinite test  <a href="classpcl_1_1filters_1_1_convolving_kernel.html#a516ff8cb112028510557398fb8152b2e">更多...</a><br /></td></tr>
<tr class="separator:a516ff8cb112028510557398fb8152b2e inherit pub_static_methods_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html">pcl::filters::GaussianKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:a7f7088d13d2768e329700e56a9072d5c inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a7f7088d13d2768e329700e56a9072d5c"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>sigma_</b></td></tr>
<tr class="separator:a7f7088d13d2768e329700e56a9072d5c inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755b5ef576a657b38020707b7613e334 inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a755b5ef576a657b38020707b7613e334"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>sigma_sqr_</b></td></tr>
<tr class="separator:a755b5ef576a657b38020707b7613e334 inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0853b433c35665cbda03f85504f676bb inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a0853b433c35665cbda03f85504f676bb"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>threshold_</b></td></tr>
<tr class="separator:a0853b433c35665cbda03f85504f676bb inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d4d9355048491cc658c32c04696c809 inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a5d4d9355048491cc658c32c04696c809"></a>
boost::optional&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sigma_coefficient_</b></td></tr>
<tr class="separator:a5d4d9355048491cc658c32c04696c809 inherit pro_attribs_classpcl_1_1filters_1_1_gaussian_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1filters_1_1_convolving_kernel"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1filters_1_1_convolving_kernel')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html">pcl::filters::ConvolvingKernel&lt; PointInT, PointOutT &gt;</a></td></tr>
<tr class="memitem:a6acda103f7848d4598d91ecb3f07d223 inherit pro_attribs_classpcl_1_1filters_1_1_convolving_kernel"><td class="memItemLeft" align="right" valign="top"><a id="a6acda103f7848d4598d91ecb3f07d223"></a>
PointCloudInConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1filters_1_1_convolving_kernel.html#a6acda103f7848d4598d91ecb3f07d223">input_</a></td></tr>
<tr class="memdesc:a6acda103f7848d4598d91ecb3f07d223 inherit pro_attribs_classpcl_1_1filters_1_1_convolving_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">source cloud <br /></td></tr>
<tr class="separator:a6acda103f7848d4598d91ecb3f07d223 inherit pro_attribs_classpcl_1_1filters_1_1_convolving_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointInT, typename PointOutT&gt;<br />
class pcl::filters::GaussianKernelRGB&lt; PointInT, PointOutT &gt;</h3>

<p>Gaussian kernel implementation interface with <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> channel handling Use this as implementation reference </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a61adc4ffc4cf5fd82cb7d170b4989a14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61adc4ffc4cf5fd82cb7d170b4989a14">&#9670;&nbsp;</a></span>GaussianKernelRGB()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointInT , typename PointOutT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">pcl::filters::GaussianKernelRGB</a>&lt; PointInT, PointOutT &gt;::<a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">GaussianKernelRGB</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default constructor </p>
<div class="fragment"><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;          : GaussianKernel &lt;PointInT, PointOutT&gt; ()</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        {}</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab9fce61230a93073edc8b29320d33105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9fce61230a93073edc8b29320d33105">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointInT , typename PointOutT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PointOutT <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">pcl::filters::GaussianKernelRGB</a>&lt; PointInT, PointOutT &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>indices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; float &gt; &amp;&#160;</td>
          <td class="paramname"><em>distances</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convolve point at the center of this local information </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">indices</td><td>indices of the point in the source point cloud </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">distances</td><td>euclidean distance squared from the query point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the convolved point </dd></dl>

<p>重载 <a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel.html#a2550b6e480710552d543d118ee19c0ff">pcl::filters::GaussianKernel&lt; PointInT, PointOutT &gt;</a> .</p>
<div class="fragment"><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;{</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  <span class="keyword">using namespace </span>pcl::common;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  PointOutT result;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <span class="keywordtype">float</span> total_weight = 0;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  <span class="keywordtype">float</span> r = 0, g = 0, b = 0;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  std::vector&lt;float&gt;::const_iterator dist_it = distances.begin ();</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  <span class="keywordflow">for</span> (std::vector&lt;int&gt;::const_iterator idx_it = indices.begin ();</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;       idx_it != indices.end ();</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;       ++idx_it, ++dist_it)</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  {</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordflow">if</span> (*dist_it &lt;= threshold_ &amp;&amp; isFinite ((*<a class="code" href="classpcl_1_1filters_1_1_convolving_kernel.html#a6acda103f7848d4598d91ecb3f07d223">input_</a>) [*idx_it]))</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    {</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;      <span class="keywordtype">float</span> weight = expf (-0.5f * (*dist_it) / sigma_sqr_);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;      result.x += weight * (*input_) [*idx_it].x;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      result.y += weight * (*input_) [*idx_it].y;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;      result.z += weight * (*input_) [*idx_it].z;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;      r += weight * <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span> ((*input_) [*idx_it].r);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      g += weight * <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span> ((*input_) [*idx_it].g);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;      b += weight * <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span> ((*input_) [*idx_it].b);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;      total_weight += weight;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    }</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="keywordflow">if</span> (total_weight != 0)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    total_weight = 1.f/total_weight;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    r*= total_weight; g*= total_weight; b*= total_weight;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    result.x*= total_weight; result.y*= total_weight; result.z*= total_weight;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    result.r = <span class="keyword">static_cast&lt;</span>pcl::uint8_t<span class="keyword">&gt;</span> (r);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    result.g = <span class="keyword">static_cast&lt;</span>pcl::uint8_t<span class="keyword">&gt;</span> (g);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    result.b = <span class="keyword">static_cast&lt;</span>pcl::uint8_t<span class="keyword">&gt;</span> (b);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  }</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <a class="code" href="classpcl_1_1filters_1_1_convolving_kernel.html#a516ff8cb112028510557398fb8152b2e">makeInfinite</a> (result);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  <span class="keywordflow">return</span> (result);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1filters_1_1_convolving_kernel_html_a516ff8cb112028510557398fb8152b2e"><div class="ttname"><a href="classpcl_1_1filters_1_1_convolving_kernel.html#a516ff8cb112028510557398fb8152b2e">pcl::filters::ConvolvingKernel::makeInfinite</a></div><div class="ttdeci">static void makeInfinite(PointOutT &amp;p)</div><div class="ttdoc">Utility function that annihilates a point making it fail the pcl::isFinite test</div><div class="ttdef"><b>Definition:</b> convolution_3d.h:100</div></div>
<div class="ttc" id="aclasspcl_1_1filters_1_1_convolving_kernel_html_a6acda103f7848d4598d91ecb3f07d223"><div class="ttname"><a href="classpcl_1_1filters_1_1_convolving_kernel.html#a6acda103f7848d4598d91ecb3f07d223">pcl::filters::ConvolvingKernel::input_</a></div><div class="ttdeci">PointCloudInConstPtr input_</div><div class="ttdoc">source cloud</div><div class="ttdef"><b>Definition:</b> convolution_3d.h:107</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>filters/include/pcl/filters/<a class="el" href="convolution__3d_8h_source.html">convolution_3d.h</a></li>
<li>filters/include/pcl/filters/impl/<a class="el" href="convolution__3d_8hpp_source.html">convolution_3d.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>filters</b></li><li class="navelem"><a class="el" href="classpcl_1_1filters_1_1_gaussian_kernel_r_g_b.html">GaussianKernelRGB</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
